package com.rzx.mybackend.JvmWarmUp;

import com.rzx.mybackend.service.GamePublishTaskRecordService;
import com.rzx.mybackend.service.GameService;
import jakarta.annotation.PostConstruct;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * GamePublishTaskWarmUp
 *
 * @author renzhexian
 * @date 2025/10/9
 */
@Component
@RequiredArgsConstructor
public class GamePublishTaskWarmUp {

    private final GamePublishTaskRecordService gamePublishTaskRecordService;

    private final GameService gameService;

    /**
     * 游戏发布任务初始化方法
     */
    @PostConstruct
    public void init() {
        //todo: 查询所有待完成的任务，放入gameService实现类的ConcurrentHashMap中


    }
}
